package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 refund_change_info
 *
 * @author ruoyi
 * @date 2021-10-12
 */
public class RefundChangeInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 0退票 1改期 */
    @Excel(name = "0退票 1改期")
    private Integer type;

    /** 原订单号 */
    @Excel(name = "原订单号")
    private String orderNo;

    /** 原订单关联服务单 */
    @Excel(name = "原订单关联服务单")
    private Integer serviceOrderId;

    /** 外部订单号 */
    @Excel(name = "外部订单号")
    private String outerOrderNo;

    /** 外部订单号关联服务单 */
    @Excel(name = "外部订单号关联服务单")
    private Integer outerServiceOrderId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }

    public Integer getServiceOrderId() {
        return serviceOrderId;
    }

    public void setServiceOrderId(Integer serviceOrderId) {
        this.serviceOrderId = serviceOrderId;
    }

    public String getOuterOrderNo() {
        return outerOrderNo;
    }

    public void setOuterOrderNo(String outerOrderNo) {
        this.outerOrderNo = outerOrderNo;
    }

    public Integer getOuterServiceOrderId() {
        return outerServiceOrderId;
    }

    public void setOuterServiceOrderId(Integer outerServiceOrderId) {
        this.outerServiceOrderId = outerServiceOrderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("orderNo", getOrderNo())
            .append("serviceOrderId", getServiceOrderId())
            .append("outerOrderNo", getOuterOrderNo())
            .append("outerServiceOrderId", getOuterServiceOrderId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
